﻿using Shop.RemoteModel.LogisticsTemplate.Model;
using WeDonekRpc.Client;
using WeDonekRpc.Model;

namespace Shop.Service.Interface
{
    public interface ILogisticsTemplateService
    {
        LogisticsItem[] GetItems ();
        long Add (LogisticsTemplateDatum datum);
        void Delete (long id);
        LTemplateDatum Get (long id);
        PagingResult<LTemplateDatum> Query (LTQueryParam query, IBasicPage paging);
        bool Set (long id, LogisticsTemplateDatum datum);
        long SetIsDefault (long id);
        bool SetIsEnable (long id, bool isEnable);
    }
}